﻿namespace WpfMvvmTemplatePrismHC.Models.BindingModels
{
    public class ViewCModel : BindableBase
    {
        private string? data;

        public string? Data
        {
            get { return data; }
            set { SetProperty(ref data, value); }
        }

        private string? message;

        public string? Message
        {
            get { return message; }
            set { SetProperty(ref message, value); }
        }

        public ViewCModel()
        {
            Data = "3";
            Message = "3通过PubSubEvent传递";
        }
    }
}